﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClientLib.Common;

namespace WpfDataBingding.DevTreeData
{
    public class DynamicState
    {
        private string name;//设备状态名称
        private string title;//设备状体标题
        private string unit;//设备状态值单位        
        private string viewType;//设备状态显示方式类型
        private AttributeValue attributeValue;//属性值和属性类型
        private Device deviceBelongTo;//属于哪个设备

        #region 属性        
        public Device DeviceBelongTo//属于哪个设备
        {
            get { return deviceBelongTo; }
            set { deviceBelongTo = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        public string Unit
        {
            get { return unit; }
            set { unit = value; }
        }
        public string ViewType
        {
            get { return viewType; }
            set { viewType = value; }
        }
        public AttributeValue AttributeValue
        {
            get { return attributeValue; }
            set { attributeValue = value; }
        }
        #endregion


    }

}
